<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:th="http://www.thymeleaf.org">
<head>
    <title>Result</title>
</head>
<body>
<h1><--选课结果--></h1>
<h2>个人信息:</h2>
<h3>姓名:</h3>
<p th:text="${course.students[0].name}" /></br>
<h3>学校:</h3>
<p th:text="${course.students[0].college}" /></br>
<h3>年级:</h3>
<p th:text="${course.students[0].grade}" /></br>
<h3>专业:</h3>
<p th:text="${course.students[0].major}" /></br>
<h3>学号:</h3>
<p th:text="${course.students[0].studentNumber}" /></br>

<h2>选择的课程:</h2>
<div th:each="courses : ${course}">
    <p th:each="ingredient : ${courses.ingredients}">
        <span th:text="${ingredient.name}" >\</span>
</div>
</div>
</body>
</html>

